#coding:utf-8
changshi = 0.5
yanyu = 0.8
shuliang = 0.8
tuxing = 0.6
dingyi = 0.7
leibi = 0.5
luoji = 0.8
ziliao = 1

def getScore(c_count,y_count,s_count,t_count,le_count,lu_count,d_count,z_count):
    return c_count*changshi + y_count*yanyu+s_count*shuliang+t_count*tuxing+d_count*dingyi+le_count*leibi+lu_count*luoji+z_count*ziliao

if __name__ == "__main__":
    #sroce = getScore(9,17,6,8,13,7,8,10) 67
    #常识，言语，数量，图形，类比，逻辑，定义，资料
    # sroce = getScore(7,28,10,6,9,6,10,15) 68.8
    #sroce = getScore(12,21,10,7,9,6,11,15)  67.0
    sroce = getScore(12,21,10,7,9,6,11,15)  #67.0
    print sroce